export default {
  data() {
    return {
      rules: {
        contractNumber: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        macNum: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        productName: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        productType: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        productSpecification: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        equipmentMouldId: {
          required: true,
          message: "请选择模板",
          trigger: "change"
        },
        orderDate: {
          required: true,
          message: "请选择订货日期",
          trigger: "change"
        },
        deliveryDate: {
          required: true,
          message: "请选择交货日期",
          trigger: "change"
        },
        orderCompany: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        orderCompanyNumber: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        },
        bomCode: {
          required: true,
          min: 1,
          max: 70,
          message: "请输入1-70位之间的字符",
          trigger: "blur"
        }
      }
    };
  }
};
